package com.example.ql.express.utils;

import com.example.ql.express.model.constants.SystemCharConstant;

import java.util.List;

/**
 * @author xuweizhi
 * @since 2021/10/28 15:13
 */
public class CommonAppendUtils {

    private CommonAppendUtils() {

    }

    /**
     * 空指针
     */
    public static String nullPointAppend(List<String> compareRules, Boolean isAnd) {
        return String.join(isAnd ? SystemCharConstant.OPERATE_1 : SystemCharConstant.OPERATE_0, compareRules);
    }
}
